/*
 * #%L
 * SwiftUICommonUtilities
 * $Id:$
 * $HeadURL:$
 * %%
 * Copyright (C) 2011 - 2012 Linkwithweb
 * %%
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as
 * published by the Free Software Foundation, either version 3 of the 
 * License, or (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public 
 * License along with this program.  If not, see
 * <http://www.gnu.org/licenses/gpl-3.0.html>.
 * #L%
 */
/**
 * 
 */
package com.linkwithweb.products.swiftui.dataobject;

import java.util.Date;

/**
 * 
 DROP TABLE IF EXISTS `automata`.`frm_events`;
 * CREATE TABLE `automata`.`frm_events` (
 * `UNIQUE_KEY` int(11) NOT NULL AUTO_INCREMENT,
 * `EVENT_ID` varchar(127) NOT NULL,
 * `SCHEDULER_ID` varchar(127) NOT NULL,
 * `EVENT_NAME` varchar(127) NOT NULL,
 * `START_DATE` datetime NOT NULL,
 * `END_DATE` datetime NOT NULL,
 * `DETAILS` text NOT NULL,
 * `EVENT_LATITUDE` decimal(10,6),
 * `EVENT_LONGITUDE` decimal(10,6),
 * `EVENT_LOCATION_ADDRESS` VARCHAR(250),
 * `EVENT_USER_IDS` VARCHAR(250),
 * `IS_ACTIVE` tinyint(1) NOT NULL,
 * `IDENTIFIER` varchar(45) DEFAULT NULL,
 * `IDENTIFIER_ROLE` varchar(45) DEFAULT NULL,
 * `CREATED_BY` int(10) unsigned NOT NULL,
 * `CREATED_DATE` datetime NOT NULL,
 * `MODIFIED_BY` int(10) unsigned NOT NULL,
 * `MODIFIED_DATE` datetime NOT NULL,
 * PRIMARY KEY (`UNIQUE_KEY`)
 * ) ENGINE=InnoDB DEFAULT CHARSET=latin1; *
 * 
 * @author ashwin kumar
 * 
 */
public class FrameworkEvent extends BaseDataObject {
	private long uniqueKey = -1;
	private String eventId = "";
	private String schedulerId = "";
	private String eventName = "";
	private String eventDetails = "";
	private String eventLocationAddress = "";
	private String eventUserIds = "";
	private Date eventStartDate = null;
	private Date eventEndDate = null;
	private Double eventLatitude = 0.0;
	private Double eventLongitude = 0.0;

	/**
	 * @return the uniqueKey
	 */
	public long getUniqueKey() {
		return uniqueKey;
	}

	/**
	 * @param uniqueKey
	 *            the uniqueKey to set
	 */
	public void setUniqueKey(long uniqueKey) {
		this.uniqueKey = uniqueKey;
	}

	/**
	 * @return the eventId
	 */
	public String getEventId() {
		return eventId;
	}

	/**
	 * @param eventId
	 *            the eventId to set
	 */
	public void setEventId(String eventId) {
		this.eventId = eventId;
	}

	/**
	 * @return the schedulerId
	 */
	public String getSchedulerId() {
		return schedulerId;
	}

	/**
	 * @param schedulerId
	 *            the schedulerId to set
	 */
	public void setSchedulerId(String schedulerId) {
		this.schedulerId = schedulerId;
	}

	/**
	 * @return the eventName
	 */
	public String getEventName() {
		return eventName;
	}

	/**
	 * @param eventName
	 *            the eventName to set
	 */
	public void setEventName(String eventName) {
		this.eventName = eventName;
	}

	/**
	 * @return the eventDetails
	 */
	public String getEventDetails() {
		return eventDetails;
	}

	/**
	 * @param eventDetails
	 *            the eventDetails to set
	 */
	public void setEventDetails(String eventDetails) {
		this.eventDetails = eventDetails;
	}

	/**
	 * @return the eventLocationAddress
	 */
	public String getEventLocationAddress() {
		return eventLocationAddress;
	}

	/**
	 * @param eventLocationAddress
	 *            the eventLocationAddress to set
	 */
	public void setEventLocationAddress(String eventLocationAddress) {
		this.eventLocationAddress = eventLocationAddress;
	}

	/**
	 * @return the eventUserIds
	 */
	public String getEventUserIds() {
		return eventUserIds;
	}

	/**
	 * @param eventUserIds
	 *            the eventUserIds to set
	 */
	public void setEventUserIds(String eventUserIds) {
		this.eventUserIds = eventUserIds;
	}

	/**
	 * @return the eventStartDate
	 */
	public Date getEventStartDate() {
		return eventStartDate;
	}

	/**
	 * @param eventStartDate
	 *            the eventStartDate to set
	 */
	public void setEventStartDate(Date eventStartDate) {
		this.eventStartDate = eventStartDate;
	}

	/**
	 * @return the eventEndDate
	 */
	public Date getEventEndDate() {
		return eventEndDate;
	}

	/**
	 * @param eventEndDate
	 *            the eventEndDate to set
	 */
	public void setEventEndDate(Date eventEndDate) {
		this.eventEndDate = eventEndDate;
	}

	/**
	 * @return the eventLatitude
	 */
	public Double getEventLatitude() {
		return eventLatitude;
	}

	/**
	 * @param eventLatitude
	 *            the eventLatitude to set
	 */
	public void setEventLatitude(Double eventLatitude) {
		this.eventLatitude = eventLatitude;
	}

	/**
	 * @return the eventLongitude
	 */
	public Double getEventLongitude() {
		return eventLongitude;
	}

	/**
	 * @param eventLongitude
	 *            the eventLongitude to set
	 */
	public void setEventLongitude(Double eventLongitude) {
		this.eventLongitude = eventLongitude;
	}

}
